package com.lz.feign;

import com.lz.pojo.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * <pre>
 * @描述：
 * @作者：lizhao
 * @创建时间： 2024/9/24 下午1:20
 * </pre>
 **/
@FeignClient(value = "GOODS", url = "http://localhost:8082")
public interface GoodsFeign {
    @PostMapping("/goods/list")
    List<Goods> list();
}
